﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using eventr.View;
using System.ComponentModel;
using SuperDeepZoom;
namespace eventr.ImageViewDataService
{
    public partial class ImageMetaData : ISpecialImageOverlayData
    {
        bool viewed = false;

        bool showStats = false;

        public ImageMetaData()
        {
            
        }

        public void PauseSlideshow()
        {
            if (Pause != null)
            {
                Pause(this, EventArgs.Empty);
            }
        }

        public void ResumeSlideshow()
        {
            if (Resume != null)
            {
                Resume(this, EventArgs.Empty);
            }
        }

        public bool Viewed
        {
            get
            {
                return viewed;
            }
            set
            {
                viewed = value;
                RaisePropertyChanged("Viewed");
            }
        }

        public bool ShowStats
        {
            get
            {
                return showStats;
            }
            set
            {
                showStats = value;
                RaisePropertyChanged("ShowStats");
            }
        } 

        #region ISpecialImageOverlayData Members

        public event EventHandler Pause;

        public event EventHandler Resume;

        #endregion
    }
}
